﻿namespace ELog
{
    /// <summary>
    /// 日志接口
    /// </summary>
    public interface ILog
    {
        /// <summary>
        /// 异常输出
        /// </summary>
        /// <param name="ex">异常</param>
        /// <param name="logDir">指定的日志路径</param>
        void Entry(Exception ex, string logDir = "");

        /// <summary>
        /// 信息输出
        /// </summary>
        /// <param name="msg">信息</param>
        /// <param name="logDir">指定的日志路径</param>
        void Entry(string msg, string logDir = "");
    }
}
